var ec_mid3 = echarts.init(document.getElementById('mid3'), "dark");

var ec_m3_option = {
                        title : {
                            text : "医生擅长词云",
                            textStyle : {
                                color : 'white',
                            },
                            left : 'left'
                        },
                        tooltip: {
                            show: false
                        },
                        series: [{
                                type: 'wordCloud',
                                // drawOutOfBound:true,
                                gridSize: 1,
                                sizeRange: [12, 55],
                                rotationRange: [-45, 0, 45, 90],
                                // maskImage: maskImage,
                                textStyle: {
                                        color: function () {
                                            return `rgb(${[
                                                Math.round(Math.random() * 200 + 55),
                                                Math.round(Math.random() * 200 + 55),
                                                Math.round(Math.random() * 200 + 55)
                                            ].join(',')})`

                                    }
                                },
                                right: null,
                                bottom: null,
                                data:  []
                            }]
                    };

ec_mid3.setOption(ec_m3_option);